package mest.entity;

import java.io.Serializable;
import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class costorder implements Serializable {


    private Integer id;

    //费用单的编码
    private String tableNumber;

    //操作人，一般为财务
    private Integer efId;

    //付款日期
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
   // @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date Time;

    //费用金额
    private String number;

    //费用内容
    private String content;

    //假删字段
    private Integer isDelete;

    //备注
    private String description;


}